sample_vot_ssa = """<?xml version="1.0" encoding="utf-8"?>
<VOTABLE xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xsi:noNamespaceSchemaLocation="xmlns:http://www.ivoa.net/xml/VOTable/VOTable-1.1.xsd"

xmlns:ssa="http://www.ivoa.net/xml/DalSsap/v1.0" version="1.1">

 

<RESOURCE type="Results">

<DESCRIPTION>DALServer proxy service for JHU spectrum services</DESCRIPTION>

<INFO name="QUERY_STATUS" value="OK"/>

<INFO name=”SERVICE_PROTOCOL” value=”1.0”>SSAP</INFO>

 

<INFO name="REQUEST" value="queryData"/>

<INFO name="POS" value="180.0,1.0"/>

<INFO name="SIZE" value="0.2"/>

<INFO name="FORMAT" value="all"/>

<INFO name="Collection" value="ivo://jhu/sdss/dr5"/>

<INFO name="ServiceEngine" value="JhuProxySsap: SSAP 1.0 DALServer version 0.1"/>

<INFO name="TableRows" value="42"/>

<TABLE>

<FIELD ID="Score" name="Score" datatype="float" utype="ssa:Query.Score">

<DESCRIPTION>Degree of match to query parameters</DESCRIPTION>

</FIELD>

<FIELD ID="AssocID" name="AssocID" datatype="char" utype="ssa:Association.ID"

arraysize="*">

<DESCRIPTION>Association identifier</DESCRIPTION>

</FIELD>

<FIELD ID="AcRef" name="AcRef" datatype="char" ucd="meta.ref.url"

utype="ssa:Access.Reference" arraysize="*">

<DESCRIPTION>URL used to access dataset</DESCRIPTION>

</FIELD>

<FIELD ID="Format" name="Format" datatype="char" utype="ssa:Access.Format"

arraysize="*">

<DESCRIPTION>Content or MIME type of dataset</DESCRIPTION>

</FIELD>

<FIELD ID="DataModel" name="DataModel" datatype="char" utype="ssa:Dataset.DataModel"

arraysize="*">

<DESCRIPTION>Datamodel name and version</DESCRIPTION>

</FIELD>

<FIELD ID="DataLength" name="DataLength" datatype="long" utype="ssa:Dataset.Length">

<DESCRIPTION>Number of points</DESCRIPTION>

</FIELD>

<FIELD ID="Title" name="Title" datatype="char" ucd="meta.title;meta.dataset"

utype="ssa:DataID.Title" arraysize="*">

<DESCRIPTION>Dataset Title</DESCRIPTION>

</FIELD>

<FIELD ID="Creator" name="Creator" datatype="char" utype="ssa:DataID.Creator"

arraysize="*">

<DESCRIPTION>Dataset creator</DESCRIPTION>

</FIELD>

<FIELD ID="Collection" name="Collection" datatype="char" utype="ssa:DataID.Collection"

arraysize="*">

<DESCRIPTION>Data collection to which dataset belongs</DESCRIPTION>

</FIELD>

<FIELD ID="CreatorDID" name="CreatorDID" datatype="char" ucd="meta.id"

utype="ssa:DataID.CreatorDID" arraysize="*">

<DESCRIPTION>Creator's ID for the dataset</DESCRIPTION>

</FIELD>

<FIELD ID="CreatorDate" name="CreatorDate" datatype="char" ucd="time;meta.dataset"

utype="ssa:DataID.Date" arraysize="*">

<DESCRIPTION>Data processing/creation date</DESCRIPTION>

</FIELD>

[more FIELDs ommitted]

 

<GROUP ID="Query" name="Query" utype="ssa:Query">

<DESCRIPTION>Query Metadata</DESCRIPTION>

<FIELDref ref="Score"/>

</GROUP>

<GROUP ID="Association" name="Association" utype="ssa:Association">

<DESCRIPTION>Association Metadata</DESCRIPTION>

<FIELDref ref="AssocID"/>

<PARAM ID="AssocType" datatype="char" name="AssocType"

utype="ssa:Association.Type" value="MultiFormat" arraysize="*">

<DESCRIPTION>Type of association</DESCRIPTION>

</PARAM>

<PARAM ID="AssocKey" datatype="char" name="AssocKey" utype="ssa:Association.Key"

value="@Format" arraysize="*">

<DESCRIPTION>Key used to distinguish association elements</DESCRIPTION>

</PARAM>

</GROUP>

<GROUP ID="Access" name="Access" utype="ssa:Access">

<DESCRIPTION>Access Metadata</DESCRIPTION>

<FIELDref ref="AcRef"/>

<FIELDref ref="Format"/>

<PARAM ID="DatasetSize" unit="bytes" datatype="long" name="DatasetSize"

utype="ssa:Access.Size" value="800000">

<DESCRIPTION>Estimated dataset size</DESCRIPTION>

</PARAM>

</GROUP>

<GROUP ID="Dataset" name="Dataset" utype="ssa:Dataset">

<DESCRIPTION>General Dataset Metadata</DESCRIPTION>

<FIELDref ref="DataModel"/>

<FIELDref ref="DataLength"/>

<PARAM ID="DatasetType" datatype="char" name="DatasetType"

utype="ssa:Dataset.Type" value="Spectrum" arraysize="*">

<DESCRIPTION>Dataset or segment type</DESCRIPTION>

</PARAM>

</GROUP>

<GROUP ID="DataID" name="DataID" utype="ssa:DataID">

<DESCRIPTION>Dataset Identification Metadata</DESCRIPTION>

<FIELDref ref="Title"/>

<FIELDref ref="Creator"/>

<FIELDref ref="Collection"/>

<FIELDref ref="CreatorDID"/>

<FIELDref ref="CreatorDate"/>

<FIELDref ref="CreatorVersion"/>

<FIELDref ref="Instrument"/>

PARAM ID="DataSource" datatype="char" name="DataSource"

utype="ssa:DataID.DataSource" value="survey" arraysize="*">

<DESCRIPTION>Original source of the data</DESCRIPTION>

</PARAM>

<PARAM ID="CreationType" datatype="char" name="CreationType"

utype="ssa:DataID.CreationType" value="Archival" arraysize="*">

<DESCRIPTION>Dataset creation type</DESCRIPTION>

</PARAM>

</GROUP>

[More GROUPs omitted]

 

<DATA>

<TABLEDATA>

<TR>

<TD>1.0</TD>

<TD>MultiFormat.12</TD>

<TD>http://webtest.aoc.nrao.edu/ivoa-dal/JhuProxySsap?

REQUEST=getData&FORMAT=csv&

PubDID=ivo%3A%2F%2Fjhu%2Fsdss%2Fdr5%2380442261170552832

</TD>

<TD>text/csv</TD>

<TD>Spectrum 1.0</TD>

<TD>4000</TD>

<TD>SDSS J115923.80+000000.00 Galaxy 0285-51663-01</TD>

<TD>sdss</TD>

<TD>ivo://sdss/dr5/spec</TD>

<TD>ivo://sdss/dr5/spec#80442261170552832</TD>

<TD>2000-04-29T03:22:00.7900000-04:00</TD>

<TD>3.13.1branch.1</TD>

<TD>SDSS 2.5-M SPEC2 v4_5</TD>

<TD>ivo://jhu/sdss/dr5#80442261170552832</TD>

<TD>SDSS J115923.80+000000.00</TD>

<TD>Galaxy</TD>

<TD>0.451652</TD>

<TD>0</TD>

<TD>FK5</TD>

<TD>2000</TD>

<TD>TAI</TD>

<TD>179.849160 .984768</TD>

<TD>0.00083333333333333339</TD>

<TD>em.wl</TD>

<TD>6518.40990663334</TD>

<TD>5389.1347401044286</TD>

<TD>3823.8425365811263</TD>

<TD>9212.9772766855549</TD>

<TD>0</TD>

<TD>0</TD>

<TD>Absolute</TD>

<TD>0</TD>

<TD>51663.30695358796</TD>

<TD>3600</TD>

<TD>51663.2713056713</TD>

<TD>51663.319500115744</TD>

<TD>phot.fluDens;em.wl</TD>

<TD>0</TD>

<TD>Absolute</TD>

</TR>

[More table rows omitted]

</TABLEDATA>

</DATA>

</TABLE>

</RESOURCE>

</VOTABLE>"""
